package com.yh.csx.crm.po;

import io.swagger.annotations.ApiModelProperty;
import java.util.Date;
import lombok.Data;

@Data
public class SysSalesPermission {
    @ApiModelProperty("ID")
    private Integer id;

    @ApiModelProperty("父节点id")
    private Long parid;

    @ApiModelProperty("路径 格式:父节点id,父节点id,id")
    private String path;

    @ApiModelProperty("手机号")
    private String phone;

    @ApiModelProperty("用户中心里面的id")
    private Long userId;

    @ApiModelProperty("用户名")
    private String userName;

    @ApiModelProperty("工号")
    private String workNumber;

    @ApiModelProperty("职务,包含CEO,SALES等")
    private String position;

    @ApiModelProperty("组织机构ID")
    private Integer orgId;

    @ApiModelProperty("权限类型：1-自己及下属，2-本部门，3-指定部门, 4-全部")
    private Integer permissionType;

    @ApiModelProperty("关联的部门")
    private String relatedOrgs;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("创建人")
    private String createBy;

    @ApiModelProperty("更新时间")
    private Date updateTime;

    @ApiModelProperty("更新人")
    private String updateBy;
}